/**
 * Desc :
 * Wiki :
 * User : peimingxiao_dxm
 * Date : 2023/3/9 15:20
 */

package data

import "fmt"

type BroadCast struct {
	Channel Channel
}

func NewBroadCast(channel Channel) BroadCast {
	return BroadCast{channel}
}

func (broadCast BroadCast) Start() {
	message := broadCast.Channel.GetMsg()
	fmt.Println(message)
}
